/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package thienphuc.patient.bo;

import java.util.List;
import thienphuc.patient.dto.LoaiDichVu;

/**
 *
 * @author QuocDat
 */
public interface LoaiDichVuBO {
    
    /**
     * Get all LoaiDichVu
     * @return
     * @throws Exception  
     */
    List<LoaiDichVu> getAll() throws Exception;
    
    /**
     * Get LoaiDichVu by MaLoaiDichVu
     * @param maLoaiDichVu
     * @return
     * @throws Exception 
     */
    LoaiDichVu getById(int maLoaiDichVu)throws Exception;

    /**
     * Get LoaiDichVu by TenLoaiDichVu
     * @param tenLoaiDichVu
     * @return
     * @throws Exception 
     */
    List<LoaiDichVu> getByTenLoaiDichVu(String tenLoaiDichVu) throws Exception;
    
    /**
     * Update LoaiDichVu
     * @param loaiDichVu
     * @return
     * @throws Exception 
     */
    boolean updateLoaiDichVu(LoaiDichVu loaiDichVu) throws Exception;
    
}
